package com.link.base.base.wechat.model;

import com.link.base.base.coupons.model.Coupons;
import com.link.base.wechat.mpnews.model.Article;
import com.link.core.basic.model.BasicModel;

import java.util.List;

/**
 * 微信自定义菜单
 *
 * @author 路江
 * @date 2018-05
 */
public class Menu extends BasicModel {
    /**
     * 菜单类型
     */
    private String menuType;
    /**
     *菜单序号
     */
    private Integer menuNumber;
    /**
     *菜单名称
     */
    private String menuName;
    /**
     *父菜单
     */
    private String fmenu;
    /**
     *菜单内容类型
     */
    private String menuContentType;
    /**
     *消息类型
     */
    private String msgType;
    /**
     *消息文本
     */
    private String message;
    /**
     *链接
     */
    private String link;
    /*子菜单集合*/
    private List<Menu> listMenu;
    /*公众号标识*/
    private String wxId;
    /*是否成功*/
    private String isSuccess;
    /**
     *素材id
     */
    private Long sourceid;
    /**
     *菜单的状态
     */
    private String status;
    /**
     *同步时间
     */
    private String creDate;
    /**
     *同步反馈
     */
    private String result;
    /**
     * 图片素材
     */
    private WxImage wxImage;
    /**
     *图文素材
     */
    private Article articles;
    /**
     *优惠券素材
     */
    private Coupons coupons;
    /**
     *小程序的appid（仅认证公众号可配置）
     */
    private String appid;
    /**
     *小程序的页面路径
     */
    private String pagepath;

    public String getWxId() {
        return wxId;
    }

    public void setWxId(String wxId) {
        this.wxId = wxId;
    }

    public Long getSourceid() {
        return sourceid;
    }

    public void setSourceid(Long sourceid) {
        this.sourceid = sourceid;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getPagepath() {
        return pagepath;
    }

    public void setPagepath(String pagepath) {
        this.pagepath = pagepath;
    }

    public WxImage getWxImage() {
        return wxImage;
    }

    public void setWxImage(WxImage wxImage) {
        this.wxImage = wxImage;
    }

    public Article getArticles() {
        return articles;
    }

    public void setArticles(Article articles) {
        this.articles = articles;
    }

    public Coupons getCoupons() {
        return coupons;
    }

    public void setCoupons(Coupons coupons) {
        this.coupons = coupons;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }


    public String getCreDate() {
        return creDate;
    }

    public void setCreDate(String creDate) {
        this.creDate = creDate;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }


    public String getIsSuccess() {
        return isSuccess;
    }

    public void setIsSuccess(String isSuccess) {
        this.isSuccess = isSuccess;
    }

    public List<Menu> getListMenu() {
        return listMenu;
    }

    public void setListMenu(List<Menu> listMenu) {
        this.listMenu = listMenu;
    }

    public String getMenuType() {
        return menuType;
    }

    public void setMenuType(String menuType) {
        this.menuType = menuType;
    }

    public Integer getMenuNumber() {
        return menuNumber;
    }

    public void setMenuNumber(Integer menuNumber) {
        this.menuNumber = menuNumber;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getFmenu() {
        return fmenu;
    }

    public void setFmenu(String fmenu) {
        this.fmenu = fmenu;
    }

    public String getMenuContentType() {
        return menuContentType;
    }

    public void setMenuContentType(String menuContentType) {
        this.menuContentType = menuContentType;
    }

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }


}
